package net.hn.hnms.biz.video.constant;


/**
 * @Author mkq
 * @Date 2022-08-04 10:05
 * @Description
 */
public class HikVersionConstant {

    public final static String CONTENT_TYPE = "application/json";

    /**
     * 设置OpenAPI接口的上下文
     */
    public final static String ARTEMIS_PATH = "/artemis";

    /**
     * 获取区域列表接口可用来全量同步区域信息，返回结果分页展示。
     */
    public final static String REGIONS = ARTEMIS_PATH + "/api/resource/v1/regions";


    /**
     * 分页获取监控点资源
     */
    public final static String CAMERAS = ARTEMIS_PATH + "/api/resource/v1/cameras";


    //根据条件查询目录下有权限的监控点列表
    public final static String CAMERAS_TREE = ARTEMIS_PATH + "/api/resource/v2/camera/search";


    /**
     * 获取监控点在线状态
     */
    public final static String ONLINE_CAMERA = ARTEMIS_PATH + "/api/nms/v1/online/camera/get";

    /**
     * 获取监控点预览取流URLv2
     */
    public final static String PREVIEWURLS = ARTEMIS_PATH + "/api/video/v2/cameras/previewURLs";


    public final static String CACHE_CAMERA = "hik:cameras";

    public final static String CACHE_CAMERA_TREE = "hik:cameras:tree";

    public final static String CACHE_ONLINE_CAMERA = "hik:online";

    public final static String CACHE_AREA = "hik:area";


    public final static String CAMERA_CONFIG = "hik:config";


}
